package com.example.tys.baseapplication.Mvp.View;

import android.support.annotation.NonNull;

import com.example.tys.baseapplication.callback.PermissionCallBack;

/**
 * Created by tys on 2017/9/30.
 */

public interface IView {

    void requestPermission(final PermissionCallBack.OnlyGranted callBack, @NonNull String permissions);

    void requestPermission(final PermissionCallBack.OnlyGranted callBack, @NonNull String... permissions);

    void toast(String context);

    void showLoading();

    void dismissLoading();
}
